package Classes;


import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.io.*;

public interface HInterface extends Remote {
    
    /**Server Date and Time**/
    public String getCurrentTime() throws RemoteException;
    public String getCurrentDate() throws RemoteException;
    public String getDBDate() throws RemoteException;
    public String getCurrDate() throws RemoteException;
    public String getCurrYear() throws RemoteException;
    public String getYear() throws RemoteException;
    public String getRealYear() throws Exception;    
    public String getPrevYear() throws Exception;  
    public int getToday() throws Exception;
    public int getPast() throws Exception;
    public int getNext() throws Exception;
   
    public boolean checkUserStatus(String username) throws RemoteException;
    public void clientActivity(String username, String activity) throws RemoteException;
    public ArrayList<Object> getList(String table)throws Exception;
    public boolean login(String username, String password, boolean status) throws RemoteException ;
  //  public boolean add(String table, Object a, String clvl, User aa)throws Exception;
   
}
